INET::SSLContextEncryptString Method
Syntax
Arguments
- ResultStringCharacter
The plain text string.
- SourceStringCharacter
The encoded string.
- KeyCharacter Binary
A binary value used to encode SourceString.
- AlgorithmCharacter
Default = "Blowfish". The encoding algorithm to use. Refer to Encryption Algorithms.
- InitializerBinary
An advanced feature requiring knowledge of the specific algorithm, much of which is not clearly documented. Additional information to be provided by advanced users depending on the algorithm they use. Refer to the OpenSSL site at www.openssl.org for more information.
Returns
- Result_FlagLogical
Returns .T. if the operation was successful; otherwise .F.
Description
Encrypts the string provided and encodes the encryption result using base64 encoding.
Discussion
The INET::SSLContext::EncryptString() encodes text using a variety of base64 encryption algorithms. The customer is responsible for verifying that they have met all legal requirements when using any algorithms other than the default.
See Also